//引入react核心库
import React from "react";
//引入ReactDOM
import ReactDOM from "react-dom";

import { BrowserRouter } from "react-router-dom";
//引入APP
import App from "./App";

// 路由直接包裹
ReactDOM.render(
  <BrowserRouter>
    <App />
  </BrowserRouter>,
  document.getElementById("root")
);
